package com.sjdang.springcloud.learning.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("nacos-provider")
public interface NacosFeignService {
	
	@GetMapping("/learning/nacos/provider/hello")
	String sayHello(@RequestParam(value="name", defaultValue="Nacos-Feign")String name);

}
